package com.newtouch.bxzs.business.message.service;


import com.newtouch.bxzs.business.message.model.ProductAppVO;
import com.newtouch.bxzs.common.base.response.BaseResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 产品feign接口:
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/21 14:29</td>
 * <td>tianshangzhu</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author tianshangzhu
 * @version 1.0.0
 * @since 1.0.0
 */
@Component
@FeignClient("bxzs-product")
public interface ProductServiceClient {

    /**
     * app首页产品列表
     * @param productAppVO 参数
     * @return BaseResponse<ProductOnAppBO>
     */
    @PostMapping("/productController/getProductListOnApp")
    BaseResponse<Object> getProductListOnApp(@RequestBody ProductAppVO productAppVO);

}
